#pragma once

#include "typedefs.hpp"

namespace DaseX {

template <typename T>
const T Load(const_data_ptr_t ptr) {
    T ret;
    memcpy(&ret, ptr, sizeof(ret));
    return ret;
}

} // DaseX
